package Test;

/**
 * @ProjectName: Experiment4
 * @Package: PACKAGE_NAME
 * @ClassName: Judge
 * @Description: java类作用描述
 * @Author: 章宇翔
 * @CreateDate: 2020-04-02 13:30
 * @UpdateUser: 更新者
 * @UpdateDate: 2020-04-02 13:30
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class Judge {
    public static String judge(String symptom, String contact) {
        if (symptom.equals("有典型症状") && contact.equals("有接触史")) {
            return "建议1";
        }
        if (symptom.equals("有典型症状")) {
            return "建议2";

        }
        if (contact.equals("有接触史")) {
            return "建议3";
        }
        else {
            return "建议4";
        }
    }
    private Judge(){
    }
}
